# 示例1：写入状态消息
Write-Verbose -Message "Searching the Application Event Log."
Write-Verbose -Message "Searching the Application Event Log." -Verbose
# SilentlyContinue
$VerbosePreference

# 示例2：设置$VerbosePreference并写入状态消息
$VerbosePreference = "Coutinue"
Write-Verbose "Copying file $filename"

# Verbose 冗长的、输出详细调试信息